package me.frank.security.validate.code;

import java.awt.image.BufferedImage;

/**
 * @Author Frank Wang
 * @Description:图形验证码
 * @Date 2018/12/12 9:37
 */
public class ImageValidateCode extends ValidateCode {

    private BufferedImage image;


    public ImageValidateCode(BufferedImage image, String code, int expireIn) {
        super(code,expireIn);
        this.image = image;
    }

    public BufferedImage getImage() {
        return image;
    }

    public void setImage(BufferedImage image) {
        this.image = image;
    }

}
